package org.example.petsystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.petsystem.entity.ShopMessage;

import java.util.List;
import java.util.Map;

@Mapper
public interface RelProMapper {
//    int addGoods(String code, String category, String name, String description, Double price, String phone, String avatarUrl, String gender, Integer age, String certificate);

    List<Map<String,Object>> displayProduct(String phone);

    List<Map<String,Object>> getAllMessage();

    List<Map<String,Object>> displayShopR();

    Integer decision(String status,String code);

    int addPet(ShopMessage pet);

     List<ShopMessage> getPetsByPhone();
}
